/**
 * 
 */
package com.fsharemobile.client;

import java.util.ArrayList;
import java.util.List;

/**
 * @author RAD-Dungtm9
 * 
 */
public class FClient {

	public static final String APP_KEY = "wjj862xn07hhb3sm9pv4s93rtxa80s";

	/**
	 * @return the token
	 */
	public String getToken() {
		return token;
	}

	/**
	 * @param token
	 *            the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}

	/**
	 * @return the sessionid
	 */
	public String getSessionid() {
		return sessionid;
	}

	/**
	 * @param sessionid
	 *            the sessionid to set
	 */
	public void setSessionid(String sessionid) {
		this.sessionid = sessionid;
	}

	private String sessionid = "";

	private String token = "";

	private HttpUtil httputil = null;

	private UserProxy userProxy = null;
	
	private List<String> cookies;

	/**
	 * @return the cookies
	 */
	public List<String> getCookies() {
		return cookies;
	}

	/**
	 * @param cookies the cookies to set
	 */
	public void setCookies(List<String> cookies) {
		this.cookies = cookies;
	}

	/**
	 * @return the userProxy
	 */
	public UserProxy getUserProxy() {
		return userProxy;
	}

	/**
	 * @return the fileProxy
	 */
	public FileProxy getFileProxy() {
		return fileProxy;
	}

	private FileProxy fileProxy = null;

	/**
	 * @return the httputil
	 */
	public HttpUtil getHttputil() {
		return httputil;
	}

	public FClient() {
		super();
		this.httputil = new HttpUtil();
		userProxy = new UserProxy(this);
		fileProxy = new FileProxy(this);
		photoProxy = new PhotoProxy(this);
		this.cookies = new ArrayList<String>();
	}
	
	private PhotoProxy photoProxy = null;

	/**
	 * @return the photoProxy
	 */
	public PhotoProxy getPhotoProxy() {
		return photoProxy;
	}

}
